package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyk
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Backlog extends Model<Backlog> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 任务类型id
     */
    @TableField("taskTypeId")
    private Integer taskTypeId;

    /**
     * 任务类型名称
     */
    @TableField("taskTypeName")
    private String taskTypeName;

    /**
     * 任务id
     */
    @TableField("taskId")
    private Integer taskId;

    /**
     * 任务名称
     */
    @TableField("taskName")
    private String taskName;

    /**
     * 任务下发时间
     */
    @TableField("taskIssuedTime")
    private LocalDateTime taskIssuedTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
